﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:wpf="clr-namespace:ViewOnCore.Helper.WPF;assembly=ViewOnCore"
	xmlns:vod="clr-namespace:ViewOn.UI.Dialog"
    xmlns:globalProperties="clr-namespace:ViewOnCore.Properties;assembly=ViewOnCore"
	xmlns:properties="clr-namespace:ViewOn.Properties"
	x:Class="ViewOn.UI.Dialog.EqualizerDialog"
	Width="500"
	Height="170">
	<wpf:ChildWindowDecorator x:Name="childWindowDecorator" IsResizable="False">

		<Border BorderThickness="0" BorderBrush="#F0444444" CornerRadius="4" Margin="1,1,1,1">
			<Grid>

				<Grid.RowDefinitions>
					<RowDefinition Height="10" />
					<RowDefinition Height="*" />
					<RowDefinition Height="30" />
					<RowDefinition Height="10" />
				</Grid.RowDefinitions>

				<vod:EqualizerControl Grid.Row="1"/>

				<Button x:Name="btnClose" Style="{StaticResource Button.TransparentWithEffect}" Grid.Row="2" Width="80" HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Bottom" Click="btnClose_Click">
					<TextBlock Text="{x:Static globalProperties:Globalization.Close}" Margin="5,5,5,5"/>
				</Button>

			</Grid>
		</Border>

	</wpf:ChildWindowDecorator>
</UserControl>
